import {
  createAPI
} from 'cube-ui'

import Vue from 'vue'
import HeaderDetail from '../components/header-detail/header-detail'
import ShopCartList from '../components/shop-cart-list/shop-cart-list'
import MaskTop from '../components/mask-top/mask-top'
import Production from '../components/production/production'

// 把组件挂在到Vue.prototype上
// 然后可以通过this.$createHeaderDetail访问组件实例相关内容
// 组件必须配置名称属性 name: 'header-detail'
createAPI(Vue, HeaderDetail)
createAPI(Vue, ShopCartList)
createAPI(Vue, MaskTop)
createAPI(Vue, Production)
